<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>后台管理_<?php echo C('site_name');?></title>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

<script language="javascript" type="text/javascript" src="__PUBLIC__/statics/js/jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/statics/js/common.js"></script>

<link rel='stylesheet' type='text/css' href='__PUBLIC__/statics/css/admin_style.css'>

</head>
<body>
<table width="98%" border="0" cellpadding="4" cellspacing="1" class="table" onsubmit="return check();">
<form action="<?php echo U('Data/del');?>" method="post">
<tr class="table_title"><td colspan="6">数据库分卷还原</td></tr>
<tr class="list_head ct">
<td width="60">编号</td>
<td >文件名</td>
<td width="50">卷号</td>
<td width="60">文件大小</td>
<td width="150">备份时间</td>
<td width="120">操作</td>
</tr><?php if(is_array($list_backup)): $i = 0; $__LIST__ = $list_backup;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr class="tr">
  <td class="lt"><input type="checkbox" name="id[]" value="<?php echo ($vo["filename"]); ?>" class="noborder"><?php echo ($i); ?></td>
  <td class="lt"><?php echo ($vo["filename"]); ?></td>
  <td class="td ct"><?php echo ($vo["number"]); ?></td>
  <td class="td ct"><?php echo ($vo["filesize"]); ?> M</td>
  <td class="td ct"><?php echo ($vo["maketime"]); ?></td>
  <td class="td ct"><a href="<?php echo U('Data/backin',array('id'=>$vo['pre']));?>" onClick="return confirm('导入数据会删除现在数据库的所有信息,请确定是否导入?')">导入</a> | <a href="<?php echo U('Data/backdown',array('id'=>$vo['filename']));?>">下载</a> | <a href="<?php echo U('Data/backdel',array('id'=>$vo['filename']));?>" onClick="return confirm('确定删除?')">删除</a> </td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
<tr class="tr">
<td colspan="6">说明:导入时只需要点导入任意一个文件,程序会自动导入剩余文件!</td>
</tr>
<tr>
<td colspan="6" class="tr"><input type="button" class="bginput" id="checkall" value="全选/取消" style="*padding-top:2px;"> 
<input type="submit" class="bginput" value="批量删除"/></td>
</tr>
</form>
</table>
</body>
</html>